@inherits PartialViewMacroPage
@using Umbraco.Cms.Web
@using Umbraco.Cms.Web.Macros
@using Umbraco.Framework
@using PBDesk.com.Extension.UmbHelper
@{  
  string content = string.Empty;
  string linkFormat = "<a href=\"{0}\" title=\"More by tag {1} \" >{2}</a>";
  foreach (var tag in MyUmb.TagList)
  {
    if(content.Length > 0 )
    {
        content += " &nbsp;&nbsp; ";
    }
    content += String.Format(linkFormat, "#", tag, tag);
  }
}
@Umbraco.RenderMacro("sidebarWidget", new { Title = "Tag Labels", Content = content })